<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>收件箱</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="css/globle_v1.css" type=text/css rel=stylesheet>
<LINK href="css/inbox.css" type=text/css rel=stylesheet>
<link href="css/skin_blue.css" rel="stylesheet" type="text/css" id="lnkSkin">

<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY class="All_C_Page Inbox">
<FORM id=oFormMessage 
action=#
method=post><INPUT id=oFormAction type=hidden>
<DIV class=ContentWp>
<DIV class=ContentThemeWp>
<DIV class=gTitle><B class=mTT>收件箱</B>&nbsp;&nbsp;(共&nbsp;<B 
id=oTotal>222</B>&nbsp;封，其中&nbsp;<A title="" 
href="#">未读邮件</A>&nbsp;<B 
class=fnt_Red id=oTotalUnRead>123</B>&nbsp;封)</DIV>
<DIV class="gToolbar gTbrTop">
<INPUT class="Btn BtnNml" hideFocus type=button value="新 增" outClass="Btn BtnNml ImpBtn" overClass="Btn BtnHv ImpBtn" action="move" onclick="add()">
<INPUT class="Btn BtnNml" hideFocus type=button value=举报垃圾邮件 outClass="Btn BtnNml" overClass="Btn BtnHv" action="reportYes">
<SELECT class=Sel action="mark">
	<OPTION value=none selected>标记为...</OPTION>
	<OPTION value=read:true>&nbsp;&nbsp;已读邮件</OPTION>
	<OPTION value=read:false>&nbsp;&nbsp;未读邮件</OPTION>
</SELECT>
  
<SELECT class=Sel action="move">
  	<OPTION value=none selected>移动到...</OPTION>
	<OPTION value=2>&nbsp;&nbsp;草稿箱</OPTION>
	<OPTION value=3>&nbsp;&nbsp;已发送</OPTION>
</SELECT>

<SELECT class=Sel action="view" url="#">
	<OPTION value=none selected>查看...</OPTION>
	<OPTION value=null>&nbsp;&nbsp;全部邮件</OPTION>
	<OPTION class=SelOptLine value=none>-------------</OPTION>
	<OPTION value=read:false>&nbsp;&nbsp;未读邮件</OPTION>
	<OPTION value=read:true>&nbsp;&nbsp;已读邮件</OPTION>
</SELECT>
<DIV class=Extra><SPAN class=Txt><SPAN class=Unable>首页</SPAN>&nbsp;&nbsp;<SPAN 
class=Unable>上页</SPAN>&nbsp;&nbsp;<A 
href="#">下页</A>&nbsp;&nbsp;<A 
href="#">末页</A></SPAN><SELECT 
class=SelA style="MARGIN-RIGHT: 0px" action="page" 
url="#"><OPTION value=1 
  selected>&nbsp;&nbsp;1/2</OPTION></SELECT></DIV></DIV>
<DIV class=Ibx_Main_Wp>
<TABLE class="Ibx_gTable F2Img Ibx_gTable_TT" id=oTableHead>
  <TBODY>
  <TR>
    <TH class=Ibx_Th_F></TH>
    <TH class=Ibx_Th_icoInfo><B class=icoIbx title=邮件类型></B></TH>
    <TH class=Ibx_Th_From>收件人</TH>
    <TH class=Ibx_Th_Subject>主题</TH>
    <TH class=Ibx_Th_Subject>内容</TH>
    <TH class=Ibx_Th_Date>日期</TH>
    <TH class=Ibx_Th_Date>操作</TH>
  <TBODY></TBODY></TABLE>
<DIV class="Ibx_Lst_dWp dWpOpen">

<TABLE class="Ibx_gTable Ibx_gTable_Con" id=oTableCOUNT0 action="list">
  <TBODY>
  <s:iterator var="aa" value="list">
      <TR class="I_Mark0 I_UnRd">
        <TD class=Ibx_Td_F>&nbsp;</TD>
        <TD class=Ibx_Td_icoInfo>
            <B class="icoIbx " title=未读(点击设为已读) type="markread"></B>
        </TD>

        <TD class=Ibx_Td_From title='"Offsetsweden@sharmafields.com" <offsetsweden@sharmafields.com>'>
            <A href="#"><s:property value="#aa.shoujianren"/></A>
        </TD>


        <TD class=Ibx_Td_Subject title="">
            <A href="#"><s:property value="#aa.zhuti"/></A>
        </TD>

      <TD class=Ibx_Td_Subject title="">
          <A href="#"><s:property value="#aa.content"/></A>
      </TD>

        <TD class=Ibx_Td_Date title="">
            <s:property value="#aa.rq"/>
        </TD>
        <TD class=Ibx_Td_Date>
            <s:a href="#" onclick="up('%{#aa.id}')">修改</s:a>
            <s:a href="delete?em.id=%{#aa.id}">删除</s:a>
        </TD>
      </TR>
  </s:iterator>
   </TBODY>
</TABLE>
</DIV>

<H4 class=Ibx_Lst_bExtra id=oH4Check>选择：<A href="#" 
type=all>全部</A>&nbsp;-&nbsp;<A href="#" 
type=unread>未读</A>&nbsp;-&nbsp;<A href="#" 
type=read>已读</A>&nbsp;-&nbsp;<A href="#" 
type=reverse>反选</A>&nbsp;-&nbsp;<A href="#" 
type=no>不选</A></H4></DIV>
<DIV class="gToolbar gTbrBtm">

<INPUT class="Btn BtnNml" hideFocus type=button value="删 除" outClass="Btn BtnNml ImpBtn" overClass="Btn BtnHv ImpBtn" action="move">
<INPUT class="Btn BtnNml" hideFocus type=button value=举报垃圾邮件 outClass="Btn BtnNml" overClass="Btn BtnHv" action="reportYes">
<SELECT class=Sel action="mark">
	<OPTION value=none selected>标记为...</OPTION>
	<OPTION value=read:true>&nbsp;&nbsp;已读邮件</OPTION>
	<OPTION value=read:false>&nbsp;&nbsp;未读邮件</OPTION>
</SELECT>
  
<SELECT class=Sel action="move">
  	<OPTION value=none selected>移动到...</OPTION>
	<OPTION value=2>&nbsp;&nbsp;草稿箱</OPTION>
	<OPTION value=3>&nbsp;&nbsp;已发送</OPTION>
</SELECT>

<SELECT class=Sel action="view" url="#">
	<OPTION value=none selected>查看...</OPTION>
	<OPTION value=null>&nbsp;&nbsp;全部邮件</OPTION>
	<OPTION class=SelOptLine value=none>-------------</OPTION>
	<OPTION value=read:false>&nbsp;&nbsp;未读邮件</OPTION>
	<OPTION value=read:true>&nbsp;&nbsp;已读邮件</OPTION>
</SELECT>
<DIV class=Extra><SPAN class=Txt><SPAN class=Unable>首页</SPAN>&nbsp;&nbsp;<SPAN 
class=Unable>上页</SPAN>&nbsp;&nbsp;<A 
href="#">下页</A>&nbsp;&nbsp;<A 
href="#">末页</A></SPAN><SELECT 
class=SelA style="MARGIN-RIGHT: 0px" action="page" 
url="list.jsp?sid=tBwkXRlgpHiyOGUAWsggoLGzpKgcUEYi&amp;fid=1"><OPTION value=1 
  selected>&nbsp;&nbsp;1/2</OPTION></SELECT></DIV></DIV></DIV></DIV></FORM><!-- Surj 2008.08.08 list.js -->
</BODY>
<script src="/js/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/xadmin.js"></script>
<script>
    function add() {
        xadmin.open('新增', './add.jsp');
    }

    function up(obj) {
        xadmin.open('修改', './byid?em.id='+obj);
    }

    /**
     * 延迟500刷新
     */
    function reloadInIn() {
        alert("新增成功")
        setTimeout(function() {
            location.reload();
        },500)
    }

    /**
     * 延迟500刷新
     */
    function reloadInIn2() {
        alert("修改成功")
        setTimeout(function() {
            location.reload();
        },500)
    }
</script>
</HTML>